    <h2><?php __('Orders'); ?></h2>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th><?php echo $this->Paginator->sort('id'); ?></th>
            <th><?php echo $this->Paginator->sort('created'); ?></th>
            <th><?php echo $this->Paginator->sort('order_status'); ?></th>
            <th><?php echo $this->Paginator->sort('order_due_datetime'); ?></th>
            <th><?php echo $this->Paginator->sort('order_type'); ?></th>
            <!--
            <th><?php //echo $this->Paginator->sort('order_security'); ?></th>
            <th><?php //echo $this->Paginator->sort('order_gratuity'); ?></th>
            <th><?php //echo $this->Paginator->sort('modified'); ?></th>
            <th><?php //echo $this->Paginator->sort('vendor_location_id'); ?></th>
            <th><?php //echo $this->Paginator->sort('location_id'); ?></th>
            <th><?php //echo $this->Paginator->sort('user_id'); ?></th>
            -->
            <th class="actions"><?php __('Actions'); ?></th>
        </tr>
        <?php
        $i = 0;
        foreach ($orders as $order):
            $class = null;
            if ($i++ % 2 == 0) {
                $class = ' class="altrow"';
            }
        ?>
            <tr<?php echo $class; ?>>
                <td><?php echo $order['Order']['id']; ?>&nbsp;</td>
                <td><?php echo $order['Order']['created']; ?>&nbsp;</td>
                <td><?php echo $order['Order']['order_status']; ?>&nbsp;</td>
                <td><?php echo $order['Order']['order_due_datetime']; ?>&nbsp;</td>
                <td><?php echo $order['Order']['order_type']; ?>&nbsp;</td>
                <!--
                <td><?php //echo $order['Order']['order_security'];  ?>&nbsp;</td>
                <td><?php //echo $order['Order']['order_gratuity'];  ?>&nbsp;</td>
                <td>
            <?php //echo $this->Html->link($order['VendorLocation']['id'], array('controller' => 'vendor_locations', 'action' => 'view', $order['VendorLocation']['id'])); ?>
		</td>
            <td>
            <?php //echo $this->Html->link($order['Location']['id'], array('controller' => 'locations', 'action' => 'view', $order['Location']['id'])); ?>
		</td>
            <td>
            <?php //echo $this->Html->link($order['User']['id'], array('controller' => 'users', 'action' => 'view', $order['User']['id'])); ?>
		</td>

            <td><?php //echo $order['Order']['modified'];  ?>&nbsp;</td>
            -->
            <td class="actions">
                <?php echo $this->Html->link(__('View', true), array('action' => 'view', $order['Order']['id'])); ?>
                <!--
                <?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $order['Order']['id'])); ?>
                <?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $order['Order']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $order['Order']['id'])); ?>
                -->
            </td>
        </tr>
        <?php endforeach; ?>
            </table>
            <p>
        <?php
                echo $this->Paginator->counter(array(
                    'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
                ));
        ?>	</p>

            <div class="paging">
        <?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class' => 'disabled')); ?>
        	 | 	<?php echo $this->Paginator->numbers(); ?>
                |
        <?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled')); ?>
    </div>
